home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 3_0 / OIC_1 / OIC_SOUR / GENERICS.C < prev    next >
Text File  |  1989-03-06  |  3KB  |  88 lines

  1. /*
  2.  *    standard system generic function declarations
  3.  *
  4.  *            Copyright ⌐ John Wainwright 1988
  5.  *
  6.  */
  7.  
  8. #include "oic.h"
  9. #include "generics.h"
  10.  
  11. defGeneric(add,             addGeneric,         "add")
  12. defGeneric(addDependent,     addDependentGeneric, "addDependent")
  13. defGeneric(allInstances,     allInstancesGeneric, "allInstances")
  14. defGeneric(append,             appendGeneric,         "append")    
  15. defGeneric(assoc,             assocGeneric,         "assoc")
  16. defGeneric(bind,             bindGeneric,         "bind")        
  17. defGeneric(cantDo,             cantDoGeneric,         "cantDo")        
  18. defGeneric(car,             carGeneric,         "car")        
  19. defGeneric(cdr,             cdrGeneric,         "cdr")        
  20. defGeneric(changed,         changedGeneric,     "changed")        
  21. defGeneric(changing,         changingGeneric,     "changing")        
  22. defGeneric(className,        classNameGeneric,     "className")
  23. defGeneric(copy,             copyGeneric,         "copy")
  24. defGeneric(declare,         declareGeneric,     "declare")
  25. defGeneric(deepCopy,         deepCopyGeneric,     "deepCopy")
  26. defGeneric(deepDispose,     deepDisposeGeneric, "deepDispose")
  27. defGeneric(deepInstances,    deepInstancesGeneric, "deepInstances")
  28. defGeneric(delete,             deleteGeneric,         "delete")
  29. defGeneric(dependentsOf,     dependentsOfGeneric, "dependentsOf")
  30. defGeneric(dispose,         disposeGeneric,     "dispose")
  31. defGeneric(dltDependent,     dltDependentGeneric, "dltDependent")
  32. defGeneric(draw,             drawGeneric,         "draw")
  33. defGeneric(equal,             equalGeneric,         "equal")        
  34. defGeneric(enlarge,         enlargeGeneric,     "enlarge")        
  35. defGeneric(forAll,             forAllGeneric,         "forAll")
  36. defGeneric(forAllGen,         forAllGenGeneric,     "forAllGen")
  37. defGeneric(freePart,         freePartGeneric,     "freePart")        
  38. defGeneric(get,             getGeneric,         "get")        
  39. defGeneric(getBinding,         getBindingGeneric,     "getBinding")        
  40. defGeneric(gprintf,         gprintfGeneric,     "gprintf")        
  41. defGeneric(hasChanged,         hasChangedGeneric,     "hasChanged")
  42. defGeneric(hashOf,             hashOfGeneric,         "hashOf")
  43. defGeneric(head,             headGeneric,         "head")
  44. defGeneric(init,             initGeneric,         "init")
  45. defGeneric(isEmpty,         isEmptyGeneric,     "isEmpty")
  46. defGeneric(isChanging,         isChangingGeneric,     "isChanging")
  47. defGeneric(isKey,             isKeyGeneric,         "isKey")
  48. defGeneric(isKeyEqual,         isKeyEqualGeneric,     "isKeyEqual")
  49. defGeneric(join,             joinGeneric,         "join")
  50. defGeneric(keyOf,             keyOfGeneric,         "keyOf")
  51. defGeneric(map,                mapGeneric,            "map")
  52. defGeneric(moreInSeq,          moreInSeqGeneric,   "moreInSeq")
  53. defGeneric(name,            nameGeneric,        "name")        
  54. defGeneric(nameOf,            nameOfGeneric,        "nameOf")        
  55. defGeneric(new,             newGeneric,         "new")        
  56. defGeneric(next,             nextGeneric,         "next")
  57. defGeneric(nextKey,         nextKeyGeneric,     "nextKey")
  58. defGeneric(nth,             nthGeneric,         "nth")
  59. defGeneric(print,             printGeneric,         "print")
  60. defGeneric(push,             pushGeneric,         "push")
  61. defGeneric(put,             putGeneric,         "put")
  62. defGeneric(repList,         repListGeneric,     "repList")
  63. defGeneric(restart,         restartGeneric,     "restart")
  64. defGeneric(second,             secondGeneric,         "second")
  65. defGeneric(sequence,         sequenceGeneric,     "sequence")    
  66. defGeneric(set,             setGeneric,         "set")    
  67. defGeneric(softBind,         softBindGeneric,     "softBind")    
  68. defGeneric(start,             startGeneric,         "start")
  69. defGeneric(stringOf,         stringOfGeneric,     "stringOf")    
  70. defGeneric(subs,            subsGeneric,         "subs")
  71. defGeneric(supers,            supersGeneric,         "supers")
  72. defGeneric(tail,             tailGeneric,         "tail")
  73. defGeneric(third,             thirdGeneric,         "third")
  74. defGeneric(valueOf,         valueOfGeneric,     "valueOf")
  75.  
  76. InitSysClasses()        
  77. {
  78.     InitIndexMixin();
  79.     InitDependentsMixin();
  80.     InitStdioStream();
  81.     InitList();
  82.     InitReplist();
  83.     InitString();
  84.     InitLinkseq();
  85.     InitCollect();
  86.     InitList2();
  87. }
  88.